package appapi.Vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UpdateImportEquipVo {
    @ApiModelProperty(value = "导入项目编号")
    @Excel(name = "项目编号",orderNum = "1",width =20)
    private String projectNo;
    /**
     * 设备类型
     */
    @ApiModelProperty(value = "导入设备类型名称")
    @Excel(name = "设备类型",orderNum = "0",width =20)
    private String equipTypeName;
    /**
     * 设备名称
     */
    @ApiModelProperty(value = "导入设备名称")
    @Excel(name = "设备别名",orderNum = "1",width =20)
    private String equipName;
    /**
     * 设备编号
     */
    @ApiModelProperty(value = "导入设备编号")
    @Excel(name = "设备编号",orderNum = "2",width =20)
    private String equipNo;
    /**
     * 0-在用 1-停用
     */
    @ApiModelProperty(value = "0-在用 1-停用")
    @Excel(name = "设备状态",orderNum = "3",width =20)
    private Integer equipStatus;

    /**
     * 终端id
     */
    @ApiModelProperty(value = "导入终端ID")
    @Excel(name = "终端ID",orderNum = "4",width =20)
    private Integer equidTerminal;
    /**
     * 所在项目
     */
    @ApiModelProperty(value = "导入所属项目名称")
    @Excel(name = "所在项目",orderNum = "5",width =20)
    private String projName;
    /**
     * 设备来源
     */
    @ApiModelProperty(value = "导入设备来源")
    @Excel(name = "设备来源",orderNum = "6",width =20)
    private Integer equipSource;
    /**
     * 设备来源
     */
    @ApiModelProperty(value = "导入证书编号")
    @Excel(name = "监检证书编号",orderNum = "7",width =20)
    private Integer monitoringCode;
    /**
     * 微信二维码
     */
    @ApiModelProperty(value = "导入微信二维码")
    @Excel(name = "设备二维码",orderNum = "8",width =20)
    private String wechatCode;
    /**
     * 退场日期
     */
    @ApiModelProperty(value = "导入退场日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退场日期",orderNum = "9",width =20)
    private Date equipQuitdate;

    @ApiModelProperty(value = "是否错误")
    private Boolean error;

    @ApiModelProperty(value = "错误提示")
    private String verifyResult;

    private Long id;

}
